package com.jhws.business.car.controller;

import com.jhws.business.car.service.CarPaymentService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.Map;

@Controller
@RequestMapping("/car/carPaymentRecord")
public class CarPaymentController {
    @Resource
    private CarPaymentService carPaymentService;

    @RequestMapping("queryCarPaymentRecordList.x")
    @ResponseBody
    public Map<String, Object> queryCarPaymentRecordList(@RequestParam Map param) {
        return carPaymentService.queryCarPaymentRecordList(param);
    }
}
